<script setup>

import HeaderWithLoginLogout from "../components/HeaderWithLoginLogout.vue";

function getStatus() {
  const item = localStorage.getItem("loggedin");
  console.log(item);
}


</script>

<template>
  <HeaderWithLoginLogout></HeaderWithLoginLogout>
  <button v-on:click="getStatus">查询</button>
  <br>
  <router-link to="/">Home</router-link>
  &nbsp;
  <router-link to="/users">Users</router-link>

  <hr>

  <router-view></router-view>


</template>

<style scoped>

</style>